﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SmallERP.PrintManage
{
    public partial class FrmAdress : Form
    {
        public FrmAdress()
        {
            InitializeComponent();
        }
       public   string IP = "";
        private void button1_Click(object sender, EventArgs e)
        {
            if (radioButtonSelfSet.Checked)
            {
                IP = textEdit1.Text;
            }
            else
            {
                IP = "127.0.0.1";
            }
            DialogResult = DialogResult.OK;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
    }
}
